package org.wdcode.back.tag.ui;

import org.wdcode.common.util.CommonUtil;

/**
 * @author WD
 * @since JDK6
 * @version 1.0 2010-3-24
 */
public final class PasswordTag extends org.apache.struts2.views.jsp.ui.PasswordTag {
	// 序列化ID
	private static final long	serialVersionUID	= -8812493540565485894L;

	/**
	 * 重写方法
	 */
	@Override
	protected void populateParams() {
		// 设置name
		name = getStack().findString("#attr.temUI.get('name')");
		// 设置cssClass
		cssClass = CommonUtil.isEmpty(cssClass) ? "%{#attr.temUI.get('cssClass')}" : cssClass;
		// 调用父方法
		super.populateParams();
	}

}
